[INFO] fetching crate swift-rs 1.0.7...
[INFO] fixing swift-rs-1.0.7 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate swift-rs 1.0.7 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate swift-rs 1.0.7
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate swift-rs 1.0.7
[INFO] tweaked toml for crates.io crate swift-rs 1.0.7 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate swift-rs 1.0.7 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 40 packages to latest compatible versions
[INFO] [stderr]       Adding base64 v0.21.7 (available: v0.22.1)
[INFO] [stderr]       Adding serial_test v0.10.0 (available: v3.5.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8f7c4049f22446973e1997d370e5fac37bd44b7070c7a74cbebccd061ff2e060
[INFO] running `Command { std: "docker" "start" "8f7c4049f22446973e1997d370e5fac37bd44b7070c7a74cbebccd061ff2e060", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8f7c4049f22446973e1997d370e5fac37bd44b7070c7a74cbebccd061ff2e060" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8f7c4049f22446973e1997d370e5fac37bd44b7070c7a74cbebccd061ff2e060", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8f7c4049f22446973e1997d370e5fac37bd44b7070c7a74cbebccd061ff2e060" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling swift-rs v1.0.7 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src-rs/test-build.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src-rs/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src-rs/swift_arg.rs (2 fixes)
[INFO] [stderr]        Fixed src-rs/swift.rs (5 fixes)
[INFO] [stderr]        Fixed src-rs/swift_ret.rs (2 fixes)
[INFO] [stderr]        Fixed src-rs/autorelease.rs (1 fix)
[INFO] [stderr]    Compiling serial_test_derive v0.10.0
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking serial_test v0.10.0
[INFO] [stderr]    Migrating tests/test_bindings.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed tests/test_bindings.rs (1 fix)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> tests/test_bindings.rs:139:44
[INFO] [stdout]     |
[INFO] [stdout] 139 |             let data = unsafe { echo_data(&bytes.into()) };
[INFO] [stdout]     |                 ----                       ^^^^^^^^^^^^   - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |                 |                          |
[INFO] [stdout]     |                 |                          this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                 |                          up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                 `data` calls a custom destructor
[INFO] [stdout]     |                 `data` will be dropped later as of Edition 2024
[INFO] [stdout]     |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> src-rs/types/object.rs:58:1
[INFO] [stdout]     |
[INFO] [stdout]  58 | impl<T> Drop for SRObject<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `data` invokes this custom destructor
[INFO] [stdout]    --> src-rs/types/object.rs:58:1
[INFO] [stdout]     |
[INFO] [stdout]  58 | impl<T> Drop for SRObject<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.58s
[INFO] [stderr] crater-edition-check: swift-rs v1.0.7 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling swift-rs v1.0.7 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `autorelease::*`
[INFO] [stdout]   --> src-rs/lib.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use autorelease::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `autorelease::*`
[INFO] [stdout]   --> src-rs/lib.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use autorelease::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src-rs/swift.rs:34:25
[INFO] [stdout]    |
[INFO] [stdout] 34 |     unsafe fn swift_ref(&self) -> SwiftRef<Self>
[INFO] [stdout]    |                         ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 34 |     unsafe fn swift_ref(&self) -> SwiftRef<'_, Self>
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src-rs/swift.rs:34:25
[INFO] [stdout]    |
[INFO] [stdout] 34 |     unsafe fn swift_ref(&self) -> SwiftRef<Self>
[INFO] [stdout]    |                         ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 34 |     unsafe fn swift_ref(&self) -> SwiftRef<'_, Self>
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> tests/test_bindings.rs:99:13
[INFO] [stdout]     |
[INFO] [stdout]  99 | /             autoreleasepool!({
[INFO] [stdout] 100 | |                 let greeting = unsafe { get_greeting(&name) };
[INFO] [stdout] 101 | |                 assert_eq!(greeting.as_str(), "Hello Brendan!");
[INFO] [stdout] 102 | |             });
[INFO] [stdout]     | |______________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `autoreleasepool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> tests/test_bindings.rs:99:13
[INFO] [stdout]     |
[INFO] [stdout]  99 | /             autoreleasepool!({
[INFO] [stdout] 100 | |                 let greeting = unsafe { get_greeting(&name) };
[INFO] [stdout] 101 | |                 assert_eq!(greeting.as_str(), "Hello Brendan!");
[INFO] [stdout] 102 | |             });
[INFO] [stdout]     | |______________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `autoreleasepool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `swift-rs` (test "test_bindings") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "8f7c4049f22446973e1997d370e5fac37bd44b7070c7a74cbebccd061ff2e060", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f7c4049f22446973e1997d370e5fac37bd44b7070c7a74cbebccd061ff2e060", kill_on_drop: false }`
[INFO] [stdout] 8f7c4049f22446973e1997d370e5fac37bd44b7070c7a74cbebccd061ff2e060
